<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tpltype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-tplType" data-rule="required" class="form-control selectpicker" name="row[tplType]">
                {foreach name="tpltypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tplcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tplCode" data-rule="required" class="form-control" name="row[tplCode]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tplcontent')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tplContent" data-rule="required" class="form-control" name="row[tplContent]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isenbale')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isEnbale" class="form-control" name="row[isEnbale]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tpldesc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-tplDesc" class="form-control " rows="5" name="row[tplDesc]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" class="form-control" name="row[status]" type="number" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
